package cn.john.org.domain;

import cn.john.basic.domain.BaseDomain;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    /* id从公共的base中继承 */
    private String username;
    private String email;
    private String phone;
    // 盐值
    private String salt;
    // 使用盐值加密后的密码
    private String password;
    private Integer age;
    private Integer state = 1;

    private Department manager;

    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;

    private Shop shop;

}
